From: kaf24@firebug.cl.cam.ac.uk Date: Fri, 28 Apr 2006 13:38:39 +0000 (+0100) Subject: Define 8 hypercall numbers for arch-specific purposes. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16108^2~53 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=14878d6c1efab7eb58d7629d62e140b4d2720538;p=xen.git Define 8 hypercall numbers for arch-specific purposes. Signed-off-by: Keir Fraser Signed-off-by: Tian Kevin Signed-off-by: Isaku Yamahata --- diff --git a/xen/include/asm-x86/config.h b/xen/include/asm-x86/config.h index 35efb1ba63..4ac128ff96 100644 --- a/xen/include/asm-x86/config.h +++ b/xen/include/asm-x86/config.h @@ -66,7 +66,7 @@ #define barrier() __asm__ __volatile__("": : :"memory") /* A power-of-two value greater than or equal to number of hypercalls. */ -#define NR_hypercalls 32 +#define NR_hypercalls 64 #if NR_hypercalls & (NR_hypercalls - 1) #error "NR_hypercalls must be a power-of-two value" diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h index 235b0d49a8..a481df3440 100644 --- a/xen/include/public/xen.h +++ b/xen/include/public/xen.h @@ -63,6 +63,16 @@ #define __HYPERVISOR_callback_op 30 #define __HYPERVISOR_xenoprof_op 31 +/* Architecture-specific hypercall definitions. */ +#define __HYPERVISOR_arch_0 48 +#define __HYPERVISOR_arch_1 49 +#define __HYPERVISOR_arch_2 50 +#define __HYPERVISOR_arch_3 51 +#define __HYPERVISOR_arch_4 52 +#define __HYPERVISOR_arch_5 53 +#define __HYPERVISOR_arch_6 54 +#define __HYPERVISOR_arch_7 55 + /* * VIRTUAL INTERRUPTS *